from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name="gitcode-mcp",
    version="0.1.0",
    author="GitCode MCP Team",
    author_email="your-email@example.com",
    description="GitCode MCP服务器，提供IDE与GitCode的集成",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/yourusername/gitcode-mcp-server",
    packages=find_packages(where="src"),
    package_dir={"": "src"},
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires=">=3.8",
    install_requires=[
        "mcp>=1.0.0",
        "aiohttp>=3.8.0",
        "python-dotenv>=1.0.0",
        "pydantic>=2.0.0",
    ],
    extras_require={
        "dev": [
            "pytest>=7.0.0",
            "pytest-asyncio>=0.18.0",
            "black>=22.0.0",
            "isort>=5.10.0",
            "mypy>=0.900",
            "flake8>=4.0.0",
        ],
    },
    entry_points={
        "console_scripts": [
            "gitcode-mcp=gitcode_mcp.server:main",
        ],
    },
) 